/*************************************************************************
 * AUTHOR		 : Chris Hayes
 * STUDENT ID	 : 656960
 * ASSIGNMENT #5 : Multi-Dimensional Array - Tic Tac Toe
 * CLASS		 : CS1B
 * SECTION		 : MW12:30
 * DUE DATE		 : June 15, 2011
 *************************************************************************/

#include "tictacheader.h"

void OutputWinner(char whoWon, string player1, string player2)
{
	switch(whoWon)
	{
	case 'X' : cout << "Congrats " << player1 << ", you are the winner!\n";
				break;

	case 'O' : cout << "Congrats " << player2 << ", you are the winner!\n";
				break;

	case 'T' : cout << "It's a tie, you both should play again!\n";
				break;

	default : cout << "Error! This should never happen!";
				break;

	}
}
